package com.plugin.generator.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author wang
 * @since 2022-03-17
 */
@Getter
@Setter
@TableName("t_order")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Long userId;

    private Long goodsId;

    private Long deliveryAddId;

    /**
     * 冗余商品名称
     */
    private String goodsName;

    private Integer goodsCount;

    private BigDecimal goodsPrice;

    /**
     * 下单渠道
     */
    private Integer orderChannel;

    /**
     * 订单状态
     */
    private Integer status;

    private LocalDateTime createDate;

    /**
     * 支付时间
     */
    private LocalDateTime payDate;


}
